﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wolfy.NetDisk.Core.Model
{
    public class Icon : DeleteEntity
    {
        /// <summary>
        /// 默认图标路径
        /// </summary>
        private string _path = "/Content/Images/FileIcon/OtherType.png";
        private string _ext = ".other";
        /// <summary>
        /// 扩展名
        /// </summary>
        public string Ext
        {
            get { return _ext; }
            set { _ext = value; }
        }
        /// <summary>
        /// 图标
        /// </summary>
        public string Path { set { _path = value; } get { return _path; } }
        /// <summary>
        /// 创建修改时间
        /// </summary>
        public DateTime Dt { set; get; }

        public virtual File File { set; get; }
        public virtual Folder Folder { set; get; }
    }
}
